package com.qlk.odcinterface.domain.query;

import java.util.Date;

import com.qlk.common.utils.page.Query;

/**
 * PmsCouponQuery：优惠券查询类
 * 
 * @author zhaoyanan
 * @version 2016-4-14 14:11:36
 * 
 */
public class PmsCouponQuery extends Query {
    

    /** ID */
	private Long id; 
    /** 优惠券活动编码 */
	private String code; 
    /** 优惠券名称 */
	private String name; 
    /** 领取开始时间 */
	private Date receiveBeginTime; 
    /** 领取截止时间 */
	private Date receiveEndTime; 
    /** 有效期方式(1:绝对时间，2：相对时间) */
	private Integer validWay; 
    /** 使用开始时间(有效期方式为绝对时间) */
	private Date useBeginTime; 
    /** 使用截止时间（有效期方式为绝对时间） */
	private Date useEndTime; 
    /** 有效期天数（有效期方式为相对时间，从领取时间开始计算） */
	private Long validDay; 
    /** 优惠券类型（1：现金券） */
	private Long couponType; 
    /** 优惠券金额 */
	private String couponAmount; 
    /** 满足门槛 */
	private String fullfill; 
    /** 发行量 */
	private Long couponNumber; 
    /** 每人限制领取张数 */
	private Long limitNumber; 
    /** 是否每天领取限制（1：每天没人限制领取，2：活动期间限制领取） */
	private Integer isEverydayLimit; 
    /** 活动范围(1:全部商品，2：部分商品参加) */
	private Integer activityScope; 
    /** 10：未生效（未启动），20：系统未审核（已启动）30：系统审核通过，40：系统审核驳回，50：暂停 */
	private Integer status; 
    /** 是否已删除，已删除则为删除日期的时间戳 */
	private Date deletedAt; 
    /**  */
	private Date createdAt; 
    /**  */
	private Date updatedAt; 
    /**  */
	private String url; 
    /** 开始时间 */
    private Date startTime; 
    /** 结束时间 */
    private Date endTime; 
	

	
    public Long getId(){
		return id;
	}
	    
    public void setId(Long id) {
		this.id = id;
	}
	
    public String getCode(){
		return code;
	}
	    
    public void setCode(String code) {
		this.code = code;
	}
	
    public String getName(){
		return name;
	}
	    
    public void setName(String name) {
		this.name = name;
	}
	
    public Date getReceiveBeginTime(){
		return receiveBeginTime;
	}
	    
    public void setReceiveBeginTime(Date receiveBeginTime) {
		this.receiveBeginTime = receiveBeginTime;
	}
	
    public Date getReceiveEndTime(){
		return receiveEndTime;
	}
	    
    public void setReceiveEndTime(Date receiveEndTime) {
		this.receiveEndTime = receiveEndTime;
	}
	
    public Integer getValidWay(){
		return validWay;
	}
	    
    public void setValidWay(Integer validWay) {
		this.validWay = validWay;
	}
	
    public Date getUseBeginTime(){
		return useBeginTime;
	}
	    
    public void setUseBeginTime(Date useBeginTime) {
		this.useBeginTime = useBeginTime;
	}
	
    public Date getUseEndTime(){
		return useEndTime;
	}
	    
    public void setUseEndTime(Date useEndTime) {
		this.useEndTime = useEndTime;
	}
	
    public Long getValidDay(){
		return validDay;
	}
	    
    public void setValidDay(Long validDay) {
		this.validDay = validDay;
	}
	
    public Long getCouponType(){
		return couponType;
	}
	    
    public void setCouponType(Long couponType) {
		this.couponType = couponType;
	}
	
    public String getCouponAmount(){
		return couponAmount;
	}
	    
    public void setCouponAmount(String couponAmount) {
		this.couponAmount = couponAmount;
	}
	
    public String getFullfill(){
		return fullfill;
	}
	    
    public void setFullfill(String fullfill) {
		this.fullfill = fullfill;
	}
	
    public Long getCouponNumber(){
		return couponNumber;
	}
	    
    public void setCouponNumber(Long couponNumber) {
		this.couponNumber = couponNumber;
	}
	
    public Long getLimitNumber(){
		return limitNumber;
	}
	    
    public void setLimitNumber(Long limitNumber) {
		this.limitNumber = limitNumber;
	}
	
    public Integer getIsEverydayLimit(){
		return isEverydayLimit;
	}
	    
    public void setIsEverydayLimit(Integer isEverydayLimit) {
		this.isEverydayLimit = isEverydayLimit;
	}
	
    public Integer getActivityScope(){
		return activityScope;
	}
	    
    public void setActivityScope(Integer activityScope) {
		this.activityScope = activityScope;
	}
	
    public Integer getStatus(){
		return status;
	}
	    
    public void setStatus(Integer status) {
		this.status = status;
	}
	
    public Date getDeletedAt(){
		return deletedAt;
	}
	    
    public void setDeletedAt(Date deletedAt) {
		this.deletedAt = deletedAt;
	}
	
    public Date getCreatedAt(){
		return createdAt;
	}
	    
    public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}
	
    public Date getUpdatedAt(){
		return updatedAt;
	}
	    
    public void setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
	}
	
    public String getUrl(){
		return url;
	}
	    
    public void setUrl(String url) {
		this.url = url;
	}

    public Date getStartTime() {
        return startTime;
    }
    
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }
    
    public Date getEndTime() {
        return endTime;
    }
    
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}
